package com.hnucm.cooklife.bean.db;

import org.codehaus.jackson.annotate.JsonProperty;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class DishDetail  implements Serializable {
@JsonProperty("dishId")
    public int dishId;
@JsonProperty("dishname")
    public String dishname;
    @JsonProperty("dishdesc")
    public String dishdesc;
    @JsonProperty("dishpic")
    public String dishpic;

    @JsonProperty("userid")
    public int userid;
    @JsonProperty("username")
    public String username;
    @JsonProperty("icon")
    public String icon;


    @JsonProperty("bg")
    public int bg;
    @JsonProperty("dishscore")
    public String dishscore;
    @JsonProperty("dishdone")
    public String dishdone;
//    public int collect;
    //一定要new 不然会空指针
    @JsonProperty("originList")
    public List<Origin> originList = new ArrayList<>();
    @JsonProperty("stepList")
    public List<Step> stepList = new ArrayList<>();

}
